package com.example.sport.service;

import com.example.sport.domain.AthleteEventResult;
import com.example.sport.domain.College;
import com.example.sport.domain.User;

import java.util.List;

public interface AthleteService {

    List<AthleteEventResult> getAthleteEventResultsByUserId(String userId);

    List<AthleteEventResult> getAthleteEventResultsByCollegeId(String collegeId);

    List<User> getUserByRoleAndName(String name, String role);


    User getUserById(String id);

    List<User> getUserDetailListByRoleAndName(String name, String athlete);

    int updateAthlete(User user);

    int addCollage(User user);
}
